from django.shortcuts import render
from django.contrib.auth.models import User
from django.contrib.auth.decorators import login_required
# Create your views here.

@login_required(login_url='/reader/login')
def bookshelfView(request):
    title = '个人书架'

    name = request.user.username
    return render(request, 'bookshelf.html', locals())